<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>messageBoard page</title>

</head>

<body>
	<form action="messageServlet" method="post">
		标题：<input type="text" name="title"> <br>
		内容: <br>
		<textarea rows="20" cols="50" name="content"></textarea> <br>
		<input type="submit">
	</form>
</body>
</html>
